const model = {
  key: "weixinmp",
  name: "微信公众号",
  group: ["wechat"],

  libs: [
    {
      key: "weixinApi",
      name: "weixinApi",
      href: "https://github.com/node-webot/co-wechat-api",
    },
  ],
  config: {
    appid: {
      key: "appid",
      value: "",
      description: "公众号ID",
      remark: "",
      required: true,
    },
    appsecret: {
      key: "appsecret",
      value: "",
      description: "公众号密钥",
      remark: "",
      required: true,
    },
  },
  template: [
    {
      key: "base",
      name: "基础",
      input: {},
      output: {},
      url: "/api/libs/weixinmp/base.js",
    },
  ],
};

module.exports = model;
